<admintpl file="header" />
<body class="J_scroll_fixed" style="min-width:800px;">
<div class="wrap J_check_wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Financialadmin/index')}" >订单列表</a></li>
        <li ><a href="{:U('Financialadmin/show')}">订单详情</a></li>
        <li ><a href="{:U('Financialadmin/statistics')}">统计信息</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('Financialadmin/search')}">
        <div class="search_type cc mb10">
            <div class="mb10">
					<span class="mr20">时间：
						<input type="text" name="start_time" class="input length_2 J_date" value="{$formget.start_time}" style="width:80px;" autocomplete="off">-
                        <input autocomplete="off" type="text" class="input length_2 J_date" name="end_time" value="{$formget.end_time}" style="width:80px;">
						关键字：
						<input type="text" class="input length_2" name="keyword" style="width:200px;" value="{$formget.keyword}" placeholder="请输入关键字...">
                        <input type="hidden" value="0" name="type">
						<button class="btn">搜索</button>
                        <b style="float: right;margin-right: 20px;">当页订单成交额：￥{$total_money}人民币</b>
					</span>
            </div>
        </div>
    </form>
    <form class="J_ajaxForm" action="" method="post">
        <div class="table_list">
            <table width="100%" class="table table-hover">
                <thead>
                <tr>
                    <th  width="16"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
                    <th style="background-color: #FFFFFF" width="150">编号</th>
                    <th width="80">用户ID</th>
                    <th width="90">商品数量</th>
                    <th width="">商品信息</th>
                    <th width="90">订单状态</th>
                    <th width="150">状态时间</th>
                    <th width="90">账单预计状态</th>
                    <th width="140"><span>订单金额</span></th>
                    <th width="120">操作</th>
                </tr>
                </thead>
                <foreach name="data" item="vo">
                    <notempty name="vo.class_type"><tr class="gray_back"><else/><tr></notempty>
                    <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="{$vo.id}"></td>
                    <td><a href="{:U('Financialadmin/show',array('id'=>$vo[id]))}">{$vo.num}</a></td>
                    <td>{$vo.uid}</td>
                    <td>{$vo.goods_num}</td>
                    <td>{$vo.goodsInfo}</td>
                    <td>{$vo.status}</td>
                    <td><notempty name="vo.status_time"><b>{$vo.status_time|date="Y-m-d H:i",###}</b><else/><b>{$vo.cTime|date="Y-m-d H:i",###}</b></notempty></td>
                    <td style="color: red">{$vo.would_status}</td>
                    <td>{$vo.total}</td>
                    <td>
                        <a target="_self" href="{:U('Financialadmin/show',array('id'=>$vo[id]))}" target="_blank" >查看</a>|
                        <a href="{:U('Financialadmin/edit',array('id'=>$vo[id]))}" class="J_ajax_del" >修改</a>
                    </td>
                    </tr>
                </foreach>
            </table>
            <div class="p10">
                <div class="pages" style="text-align: center">{$page}</div>
            </div>
        </div>
        <div class="form-actions">
            <label class="checkbox inline" for="check_all"><input type="checkbox" class="J_check_all" data-direction="y" data-checklist="J_check_y" id="check_all">全选</label>
            <button class="btn btn-primary J_ajax_submit_btn" type="submit" data-action="{:u('Commentadmin/check',array('check'=>1))}" data-subcheck="true">审核</button>
            <button class="btn btn-primary J_ajax_submit_btn" type="submit" data-action="{:u('Commentadmin/check',array('uncheck'=>1))}" data-subcheck="true">取消审核</button>
            <button class="btn btn-primary J_ajax_submit_btn" type="submit" data-action="{:u('Commentadmin/delete')}" data-subcheck="true" data-msg="你确定删除吗？">删除</button>
        </div>
    </form>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>